package com.currency.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "wyt_currency_offline_withdrawal")
public class WytCurrencyOfflineWithdrawalPojo {
    // 1 - 线下提现  2 - 微信提现  3 - 支付宝提现  4 - 油卡提现 5 - 银行卡
    // 1 - 线下提现  2 - 微信提现  3 - 支付宝提现  4 - 油卡提现 5 - 银行卡
    public static int WITHDRAWAL_TYPE_OFFLINE = 1;
    public static int WITHDRAWAL_TYPE_WEIXIN = 2;
    public static int WITHDRAWAL_TYPE_ALIPAY = 3;
    public static int WITHDRAWAL_TYPE_OLI = 4;
    public static int WITHDRAWAL_TYPE_BANK = 5;


    @ApiModelProperty(value = "提现id")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "提现类型 1 - 线下提现  2 - 微信提现  3 - 支付宝提现  4 - 油卡提现")
    @TableField(value = "withdrawal_type")
    private int withdrawalType;

    @ApiModelProperty(value = "申请提现的用户id")
    @TableField(value = "user_id")
    private String userId;

    @ApiModelProperty(value = "申请提现的金额，单位 元")
    @TableField(value = "amount")
    private BigDecimal amount;

    @ApiModelProperty(value = "线下转账证据")
    @TableField(value = "repay_image")
    private String repayImage;

    @ApiModelProperty(value = "线下转账方式")
    @TableField(value = "repay_type")
    private String repayType;

    @ApiModelProperty(value = "通过转账的管理员id")
    @TableField(value = "repay_admin_user")
    private String repayAdminUser;

    @ApiModelProperty(value = "0申请中  1付款完成")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_datetime")
    private Date createDatetime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_datetime")
    private Date updateDatetime;

}
